/*    */ package database;
/*    */ 
/*    */ import org.apache.logging.log4j.LogManager;
/*    */ import org.apache.logging.log4j.Logger;
/*    */ 
/*    */ public class DatabaseException
/*    */   extends RuntimeException {
/*  8 */   private static final Logger log = LogManager.getLogger(DatabaseException.class.getName());
/*    */   private static final long serialVersionUID = -420103154764822555L;
/*    */   
/*    */   public DatabaseException(String msg) {
/* 12 */     super(msg);
/*    */   }
/*    */   
/*    */   public DatabaseException(Exception e) {
/* 16 */     super(e);
/* 17 */     log.error("数据库错误", e);
/*    */   }
/*    */   
/*    */   public DatabaseException(String message, Throwable cause) {
/* 21 */     super(message, cause);
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\database\DatabaseException.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */